package xyz.xmh.pojo.entity.image;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

/**
 * 图片标签
 *
 * @author xuMingHai
 */
@Data
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ImageTags {

    /**
     * 匹配度
     */
    private double confidence;

    /**
     * 标签名
     */
    private String name;

    /**
     * 父标签名
     */
    private String parentName;

    /**
     * 标签级别
     */
    private int tagLevel;
}
